package com.atguigu.cloud;

import java.time.ZonedDateTime;

public class Test1
{
    public static void main(String[] args)
    {
        //获取当前时区时间代码
        ZonedDateTime zonedDateTime = ZonedDateTime.now();
        System.out.println(zonedDateTime);
    }
}


//  2024-08-20T11:42:14.219828700+08:00[Asia/Shanghai]
